<!DOCTYPE html>
<html><head>
    <meta charset="utf-8">
    <title>web813</title>

    <meta name="description" content="Dashboard">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!--Basic Styles-->
    <link href="__STATIC__/admin/style/bootstrap.css" rel="stylesheet">
    <link href="__STATIC__/admin/style/font-awesome.css" rel="stylesheet">
    <link href="__STATIC__/admin/style/weather-icons.css" rel="stylesheet">

    <!--Beyond styles-->
    <link id="beyond-link" href="__STATIC__/admin/style/beyond.css" rel="stylesheet" type="text/css">
    <link href="__STATIC__/admin/style/demo.css" rel="stylesheet">
    <link href="__STATIC__/admin/style/typicons.css" rel="stylesheet">
    <link href="__STATIC__/admin/style/animate.css" rel="stylesheet">

</head>
<body>
<!-- 头部 -->
{include file="common/head"}

<!-- /头部 -->

<div class="main-container container-fluid">
    <div class="page-container">
        {include file="common/left"}
        <div class="page-content">
            <!-- Page Breadcrumb -->
            <div class="page-breadcrumbs">
                <ul class="breadcrumb">
                    <li>
                        <a href="{:url('index/index')}">系统设置</a>
                    </li>
                    <li>
                        <a href="{:url('conf/lst')}">配置管理</a>
                    </li>
                    <li class="active">修改配置</li>
                </ul>
            </div>
            <!-- /Page Breadcrumb -->

            <!-- Page Body -->
            <div class="page-body">

                <div class="row">
                    <div class="col-lg-12 col-sm-12 col-xs-12">
                        <div class="widget">
                            <div class="widget-header bordered-bottom bordered-blue">
                                <span class="widget-caption">修改配置</span>
                            </div>
                            <div class="widget-body">
                                <div id="horizontal-form">
                                    <form class="form-horizontal" role="form" action="" method="post">
                                        <input type="hidden" name="id" value="{$confs.id}">
                                        <div class="form-group">
                                            <label for="username" class="col-sm-2 control-label no-padding-right">中文名称</label>
                                            <div class="col-sm-6">
                                                <input class="form-control" id="cname" placeholder="" name="cname" value="{$confs.cname}" required="" type="text">
                                            </div>
                                            <p class="help-block col-sm-4 red">* 必填</p>
                                        </div>
                                        <div class="form-group">
                                            <label for="username" class="col-sm-2 control-label no-padding-right">英文名称</label>
                                            <div class="col-sm-6">
                                                <input class="form-control" id="ename" placeholder="" name="ename" value="{$confs.ename}" required="" type="text">
                                            </div>
                                            <p class="help-block col-sm-4 red">* 必填</p>
                                        </div>
                                        <div class="form-group">
                                            <label for="group_id" class="col-sm-2 control-label no-padding-right">配置类型</label>
                                            <div class="col-sm-6">
                                                <select name="dt_type" style="width: 100%;">
                                                    <option {if condition="$confs['dt_type'] eq 1"} selected="selected" {/if} selected="selected" value="1">单行文本框</option>
                                                    <option  {if condition="$confs['dt_type'] eq 2"} selected="selected" {/if} value="2">单选按钮</option>
                                                    <option  {if condition="$confs['dt_type'] eq 3"} selected="selected" {/if} value="3">复选框</option>
                                                    <option {if condition="$confs['dt_type'] eq 4"} selected="selected" {/if} value="4">下列菜单</option>
                                                    <option  {if condition="$confs['dt_type'] eq 5"} selected="selected" {/if} value="5">文本域</option>
                                                    <option {if condition="$confs['dt_type'] eq 6"} selected="selected" {/if} value="6">附件</option>


                                                </select>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label for="group_id" class="col-sm-2 control-label no-padding-right">配置分类</label>
                                            <div class="col-sm-6">
                                                <select name="cf_type" style="width: 100%;">
                                                    <option {if condition="$confs['cf_type'] eq 1"} selected="selected" {/if} value="1">站点基本信息</option>
                                                    <option {if condition="$confs['cf_type'] eq 2"} selected="selected" {/if} value="2">联系方式</option>
                                                    <option {if condition="$confs['cf_type'] eq 3"} selected="selected" {/if}  value="3">SEO设置</option>
                                                </select>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label for="username" class="col-sm-2 control-label no-padding-right">值/默认值</label>
                                            <div class="col-sm-6">
                                                <textarea name="value" class="form-control">{$confs.value}</textarea>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label for="username" class="col-sm-2 control-label no-padding-right">可选值</label>
                                            <div class="col-sm-6">
                                                <textarea  name="values" class="form-control">{$confs.values}</textarea>
                                            </div>
                                        </div>


                                        <div class="form-group">
                                            <div class="col-sm-offset-2 col-sm-10">
                                                <button type="submit" class="btn btn-default">保存信息</button>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
            <!-- /Page Body -->
        </div>
        <!-- /Page Content -->
    </div>
</div>

<!--Basic Scripts-->
<script src="__STATIC__/admin/style/jquery_002.js"></script>
<script src="__STATIC__/admin/style/bootstrap.js"></script>
<script src="__STATIC__/admin/style/jquery.js"></script>
<!--Beyond Scripts-->
<script src="__STATIC__/admin/style/beyond.js"></script>



</body></html>